package com.library.domain;


import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 会员等级表 bo_membership_grade
 *
 * @author null
 * @date 2020-04-23
 * @blame Android Team
 */
public class BoMembershipGrade extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 积分等级
     */
    private String integralLevel;
    /**
     * 积分数量
     */
    private Integer integralNum;
    /**
     * 开始积分范围
     */
    private Integer startNum;
    /**
     * 结束积分范围
     */
    private Integer endNum;
    /**
     * 等级特权
     */
    private String levelPrivileges;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 扩展字段
     */
    private String ext;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setIntegralLevel(String integralLevel) {
        this.integralLevel = integralLevel;
    }

    public String getIntegralLevel() {
        return integralLevel;
    }

    public void setIntegralNum(Integer integralNum) {
        this.integralNum = integralNum;
    }

    public Integer getIntegralNum() {
        return integralNum;
    }

    public void setLevelPrivileges(String levelPrivileges) {
        this.levelPrivileges = levelPrivileges;
    }

    public String getLevelPrivileges() {
        return levelPrivileges;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getExt() {
        return ext;
    }

    public Integer getStartNum() {
        return startNum;
    }

    public void setStartNum(Integer startNum) {
        this.startNum = startNum;
    }

    public Integer getEndNum() {
        return endNum;
    }

    public void setEndNum(Integer endNum) {
        this.endNum = endNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("integralLevel", getIntegralLevel())
                .append("integralNum", getIntegralNum())
                .append("levelPrivileges", getLevelPrivileges())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .append("ext", getExt())
                .toString();
    }
}
